package com.ruoyi.labdata.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * 组织机构申报备案对象 lab_declaration_filing
 * 
 * @author lzlong
 * @date 2022-05-04
 */
public class LabDeclarationFiling extends  LabFlowInstance
{

    private static final long serialVersionUID = 1L;

    /**
     * 机构申报备案类型.
     */
    private static final String businessTypeOpt = "labDeclarationFilingApplication";

    public LabDeclarationFiling(){
        super.setBusinessTypeOpt(businessTypeOpt);
    }

    /** 主键 */
    private Long instanceId;

    /** 流程名称 */
    @Excel(name = "流程名称")
    private String flowName;

    /** 创建人员 */
    @Excel(name = "创建人员")
    private Long createUserId;

    /** 是否审核 */
    @Excel(name = "是否审核")
    private String status;

    /** 机构id */
    @Excel(name = "机构id")
    private Long orgId;

    private Integer blackCommitFlag;

    public Integer getBlackCommitFlag() {
        return blackCommitFlag;
    }

    public void setBlackCommitFlag(Integer blackCommitFlag) {
        this.blackCommitFlag = blackCommitFlag;
    }

    public void setInstanceId(Long instanceId)
    {
        this.instanceId = instanceId;
    }

    public Long getInstanceId() 
    {
        return instanceId;
    }
    public void setFlowName(String flowName) 
    {
        this.flowName = flowName;
    }

    public String getFlowName() 
    {
        return flowName;
    }
    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setOrgId(Long orgId) 
    {
        this.orgId = orgId;
    }

    public Long getOrgId() 
    {
        return orgId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("instanceId", getInstanceId())
            .append("flowName", getFlowName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("createUserId", getCreateUserId())
            .append("status", getStatus())
            .append("orgId", getOrgId())
            .append("remark", getRemark())
            .toString();
    }
}
